Connections_Directory\Shortcode\Conditional_Content A

Total Complexity 71
Dependencies 10
Dependents 1
Total lines 505
Lines of code 214
Logical lines of code 136
Comment lines 169
Methods 19
Properties 4

Methods 19

Method Rating Maintainability Complexity Lines of code
isCondition()
A
47 10 39
isCategory()
A
56 9 16
isSingle()
S
58 8 15
inCategory()
S
55 7 18
render()
S
56 5 18
isHome()
S
65 4 8
currentUserCan()
S
59 3 14
parseAtts()
S
61 3 13
actionHandle()
S
62 3 13
maybeAddAction()
S
63 3 11
getPostContent()
S
68 3 6
currentUserHasRole()
S
66 3 8
isSearch()
S
78 2 3
__construct()
S
68 2 8
__toString()
S
78 2 3
isFrontPage()
S
67 1 6
add()
S
79 1 3
getDefaults()
S
66 1 9
shortcode()
S
79 1 3